<!DOCTYPE HTML><html><head><meta charset="utf-8"><meta name="viewport" content="maximum-scale=1,minimum-scale=1,user-scalable=0,width=device-width,initial-scale=1"><meta name="format-detection" content="telephone=no,email=no,date=no,address=no"><link rel="stylesheet" href="../../../global/css/aui.css"><link rel="stylesheet" href="../../../global/css/swiper.min.css"><link rel="stylesheet" href="../../../global/css/iconfont/iconfont.css"><link rel="stylesheet" href="../../../global/css/my-css.css"><style>body,html{background: #fff;}
        .img-video-play{
            position: absolute;top:0;left: 0;width: 100%;height: 100%;z-index: 99;
        }
        .bg-video-play{
            width: 100%;
            height: 100%;
            background-image: url('../../../global/image/topic/video_play.png');
            background-position: center;
            background-repeat: no-repeat;
            background-size: 1.4rem ;
        }
        .img-delete{
            position: absolute;top:0.35rem;right:0.35rem;border-radius: 100%;width: 1rem;height: 1rem;background: rgba(0, 0, 0, 0.7);z-index: 100;
        }
        #pub-content{
            min-height: 6rem;
            /* max-height: 12rem; */
            overflow-y: scroll;
        }</style></head><body><div id="pub-tips"></div><div id="vmMain" v-cloak class="p-t10 p-b10 p-l5 p-r5"><textarea id="pub-content" onfocus="edit_main_text(this);" oninput="edit_main_text(this);" v-model="content" class="p-l5 p-r5" placeholder="想和大家说点什么..." maxlength="1000"></textarea><div class="m-t10 flex wrap"><div v-for="(i,index) in images" class="flex w-pre25 p5 j-center relative"><img @click="viewsImages(index)" class="w-full h-80 r5 img-seize" :src="i.url"><div @click="deleteImg('img',index)" class="img-delete flex j-center align-center"><img class="w-16 h-16" src="../../../global/image/topic/window_delete.png" alt=""></div></div><div v-for="(i,index) in videos" class="flex w-pre25 p5 j-center relative"><img class="w-full h-80 r5 img-seize" :src="i.url+'?vframe/jpg/offset/0'"><div @click="deleteImg('video',index)" class="img-delete flex j-center align-center"><img class="w-16 h-16" src="../../../global/image/topic/window_delete.png" alt=""></div><div @click="playVideo(i)" class="img-video-play"><div class="bg-video-play"></div></div></div><div v-if="images.length<9 && videos.length<1" @click="selectPhoto(this);" class="flex j-center w-pre25 p5"><img class="w-full h-80 r5" src="../../../global/image/topic/posting_add_video.png"></div></div><div class="m-t10 p-l5 p-r5 flex align-center s-14 c-9"><span v-if="!isEdit" class="iconfont icondingwei s-12 m-r5"></span> <span v-if="!isEdit && showLocation=='loading'" class="flex align-center">定位中 <img class="w-12 h-12 m-l5" src="../../../global/image/loading.gif" alt=""></span><span v-if="!isEdit && showLocation=='normal'" v-text="nowAddress"></span> <span v-if="!isEdit && showLocation=='noPermission'">定位失败， <span @click="locate()" class="c-blue">开启定位</span> </span><span v-if="!isEdit && showLocation=='fail'">定位失败， <span @click="reLocate()" class="c-blue">重新定位</span> </span><span v-if="isEdit && momentDetailAddress"><span class="iconfont icondingwei s-12 m-r5"></span>{{momentDetailAddress}}</span></div><div v-if="hasSelectTopic" class="m10 c-f flex s-15"><div class="r30 bg-green p-l10 flex align-center"><div class="flex align-center" :class="topictitle?'p-r10 p-t3 p-b3':''"><span class="bg-white r100 inline-block t-c w-16 h-16 l-h12 m-r5"><span class="iconfont iconxin c-green s-8"></span> </span><span v-text="hasSelectTopic.title"></span></div><div v-if="!topictitle" style="width: 1px;height: 12px;background: rgba(255,255,255,0.2);" class="m-l5"></div><div v-if="!topictitle" tapmode @click="deleteSelectTopic()" class="p-l5 p-r10 flex align-center" style="height: 1.7rem;"><img class="w-16 h-16" src="../../../global/image/topic/window_delete.png" alt=""></div></div></div><div v-if="topicList.length" class="p-l5 m-t10"><div>选择话题</div><div class="flex m-t10 wrap"><div v-for="(i,index) in topicList" @click="selectTopic(i,index)" class="bg-gray p-l10 p-r10 p-t6 p-b5 c-3 s-14 r30 m-b10 m-r5 ellipsis-1"><span class="iconfont iconxinhuatibiaoqian c-green s-14"></span> <span v-text="i.title"></span></div></div></div><div v-if="isEdit && momentDetailTopic" class="m10 c-f flex s-15"><div class="r30 p-l10 flex align-center" :class="showMomentDetailTopic?'bg-green':'bg-gray'"><div tapmode @click="fnShowMomentDetailTopic(true)" class="flex align-center" :class="showMomentDetailTopic?'c-f':'p-r10 p-t3 p-b3 c-3'"><span class="r100 inline-block t-c w-16 h-16 l-h12 m-r5" :class="showMomentDetailTopic?'bg-white':'bg-green'"><span class="iconfont iconxin s-8" :class="showMomentDetailTopic?'c-green':'c-f'"></span> </span><span>{{momentDetailTopic.title}}</span></div><div v-if="showMomentDetailTopic" style="width: 1px;height: 12px;background: rgba(255,255,255,0.2);" class="m-l5"></div><div v-if="showMomentDetailTopic" tapmode @click="fnShowMomentDetailTopic(false)" class="p-l5 p-r10 flex align-center" style="height: 1.7rem;"><img class="w-16 h-16" src="../../../global/image/topic/window_delete.png" alt=""></div></div></div><div v-show="isEdit" class="s-12 c-9 p-l10 p-r10 l-h17 m-t20">*温馨提示*<br><div class="l-h17" :class="content.length>1000?'c-red':''">1.文本最多支持1000个汉字（当前{{content.length}}字）</div><div class="l-h17" :class="(images.length && videos.length)?'c-red':''">2.图片和视频不能同时上传</div><div class="l-h17" :class="images.length>9?'c-red':''">3.图片最多上传9张（当前{{images.length}}张）</div><div class="l-h17" :class="videos.length>1?'c-red':''">4.视频只可上传1个（当前{{videos.length}}个）</div></div></div></body><script id="tpl-pubtips" type="text/x-dot-template"><p class="light-orange-notice-area">
        <img src="../../../global/image/redpack_s.png">
        <span class="aui-ellipsis-1 p-r10">{{=it.text}}</span>
    </p></script><script id="tpl-reply-tips" type="text/x-dot-template"><img class="reply-tips-redpack" src="../../../global/image/redpack_s.png">
    <span class="c-4 m-l3 aui-ellipsis-1">{{=it.text}}</span></script><script src="../../../config.js"></script><script src="../../../global/script/lib/api.js"></script><script src="../../../global/script/lib/doT.min.js"></script><script src="../../../global/script/lib/vue.min.js"></script><script src="../postEditor/lib/BBCodeParser.js?time={$time}"></script><script src="../postEditor/lib/HtmlEscapeParser.js?time={$time}"></script><script src="../postEditor/mixin.js?time={$time}"></script><script src="../../../global/script/lib/aui-toast.js"></script><script src="../../../global/script/lib/swiper.min.js"></script><script src="../../../global/script/lib/zepto.min.js"></script><script src="../../../global/script/libx/myCompact.js"></script><script src="../../../global/script/libx/myMediaScanner.js"></script><script src="../../../global/script/libx/myAMapLoc.js"></script><script src="../../../global/script/libx/myPic.js"></script><script src="../../../global/script/mylib.js"></script><script src="../../../global/script/libx/myChatBox.js"></script><script src="../../../app.js"></script><script src="./frm.js"></script></html>